/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.buanalintas.sandals.pos.entities;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author user
 */
@Entity
@Table(name = "view_remember_pay")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "ViewRememberPay.findAll", query = "SELECT v FROM ViewRememberPay v"),
    @NamedQuery(name = "ViewRememberPay.findById", query = "SELECT v FROM ViewRememberPay v WHERE v.id = :id"),
    @NamedQuery(name = "ViewRememberPay.findByReceiptNumber", query = "SELECT v FROM ViewRememberPay v WHERE v.receiptNumber = :receiptNumber"),
    @NamedQuery(name = "ViewRememberPay.findByReceiptTotal", query = "SELECT v FROM ViewRememberPay v WHERE v.receiptTotal = :receiptTotal"),
    @NamedQuery(name = "ViewRememberPay.findByGiro1", query = "SELECT v FROM ViewRememberPay v WHERE v.giro1 = :giro1"),
    @NamedQuery(name = "ViewRememberPay.findByNominal1", query = "SELECT v FROM ViewRememberPay v WHERE v.nominal1 = :nominal1"),
    @NamedQuery(name = "ViewRememberPay.findByGiro2", query = "SELECT v FROM ViewRememberPay v WHERE v.giro2 = :giro2"),
    @NamedQuery(name = "ViewRememberPay.findByNominal2", query = "SELECT v FROM ViewRememberPay v WHERE v.nominal2 = :nominal2"),
    @NamedQuery(name = "ViewRememberPay.findByGiro3", query = "SELECT v FROM ViewRememberPay v WHERE v.giro3 = :giro3"),
    @NamedQuery(name = "ViewRememberPay.findByNominal3", query = "SELECT v FROM ViewRememberPay v WHERE v.nominal3 = :nominal3"),
    @NamedQuery(name = "ViewRememberPay.findByGiro4", query = "SELECT v FROM ViewRememberPay v WHERE v.giro4 = :giro4"),
    @NamedQuery(name = "ViewRememberPay.findByNominal4", query = "SELECT v FROM ViewRememberPay v WHERE v.nominal4 = :nominal4"),
    @NamedQuery(name = "ViewRememberPay.findByGiro5", query = "SELECT v FROM ViewRememberPay v WHERE v.giro5 = :giro5"),
    @NamedQuery(name = "ViewRememberPay.findByNominal5", query = "SELECT v FROM ViewRememberPay v WHERE v.nominal5 = :nominal5"),
    @NamedQuery(name = "ViewRememberPay.findByPayTotal", query = "SELECT v FROM ViewRememberPay v WHERE v.payTotal = :payTotal")})
public class ViewRememberPay implements Serializable {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @Column(name = "id")
    @Id
    private int id;
    @Column(name = "receipt_number")
    private String receiptNumber;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "receipt_total")
    private BigDecimal receiptTotal;
    @Column(name = "giro1")
    @Temporal(TemporalType.DATE)
    private Date giro1;
    @Column(name = "nominal1")
    private BigDecimal nominal1;
    @Column(name = "giro2")
    @Temporal(TemporalType.DATE)
    private Date giro2;
    @Column(name = "nominal2")
    private BigDecimal nominal2;
    @Column(name = "giro3")
    @Temporal(TemporalType.DATE)
    private Date giro3;
    @Column(name = "nominal3")
    private BigDecimal nominal3;
    @Column(name = "giro4")
    @Temporal(TemporalType.DATE)
    private Date giro4;
    @Column(name = "nominal4")
    private BigDecimal nominal4;
    @Column(name = "giro5")
    @Temporal(TemporalType.DATE)
    private Date giro5;
    @Column(name = "nominal5")
    private BigDecimal nominal5;
    @Column(name = "cash")
    private BigDecimal cash;

    public ViewRememberPay() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getReceiptNumber() {
        return receiptNumber;
    }

    public void setReceiptNumber(String receiptNumber) {
        this.receiptNumber = receiptNumber;
    }

    public BigDecimal getReceiptTotal() {
        return receiptTotal;
    }

    public void setReceiptTotal(BigDecimal receiptTotal) {
        this.receiptTotal = receiptTotal;
    }

    public Date getGiro1() {
        return giro1;
    }

    public void setGiro1(Date giro1) {
        this.giro1 = giro1;
    }

  

    public Date getGiro2() {
        return giro2;
    }

    public void setGiro2(Date giro2) {
        this.giro2 = giro2;
    }

  

    public Date getGiro3() {
        return giro3;
    }

    public void setGiro3(Date giro3) {
        this.giro3 = giro3;
    }

   
    public Date getGiro4() {
        return giro4;
    }

    public void setGiro4(Date giro4) {
        this.giro4 = giro4;
    }

 
    public Date getGiro5() {
        return giro5;
    }

    public void setGiro5(Date giro5) {
        this.giro5 = giro5;
    }

    public BigDecimal getNominal1() {
        return nominal1;
    }

    public void setNominal1(BigDecimal nominal1) {
        this.nominal1 = nominal1;
    }

    public BigDecimal getNominal2() {
        return nominal2;
    }

    public void setNominal2(BigDecimal nominal2) {
        this.nominal2 = nominal2;
    }

    public BigDecimal getNominal3() {
        return nominal3;
    }

    public void setNominal3(BigDecimal nominal3) {
        this.nominal3 = nominal3;
    }

    public BigDecimal getNominal4() {
        return nominal4;
    }

    public void setNominal4(BigDecimal nominal4) {
        this.nominal4 = nominal4;
    }

    public BigDecimal getNominal5() {
        return nominal5;
    }

    public void setNominal5(BigDecimal nominal5) {
        this.nominal5 = nominal5;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

  

 
}
